//
//  UatUtil.h
//  UStarter
//
//  Created by Mark on 2021/1/8.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UatUtil : NSObject


// 检测对象是否存在该属性
+ (BOOL)checkIsExistPropertyWithInstance:(id)instance verifyPropertyName:(NSString *)verifyPropertyName ;

// key=val&k2=v2 -> 字符串转字典
+ (NSDictionary*) convertUrlStrToDictionary:(NSString*)urlStr ;


// 拼接url 和 参数
+ (NSString*) componentUrl:(NSString*)originUrl param:(nullable NSDictionary*)param ;

// 判断链接是否存在协议头，决定是否添加主机
+ (NSString*) combineHost:(nullable NSString*)host action:(NSString*)action ;

// app版本号比较大小
+ (BOOL)compareRemoteAppVersion:(NSString*)remoteVersion;

@end

NS_ASSUME_NONNULL_END
